package com.bh.order.mapper;

import com.bh.common.basemapper.RootMapper;
import com.bh.order.domain.JcLedReceivingParty;
import com.bh.order.dto.JcLedReceivingPartyVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 分段订单收发货方Mapper接口
 *
 * @author slx
 * @date 2023-04-24
 */
@Mapper
public interface JcLedReceivingpartyMapper extends RootMapper<JcLedReceivingParty> {

    /**
     * 查询分段订单收发货方列表
     *
     * @param jcLedReceivingparty 分段订单收发货方
     * @return 分段订单收发货方集合
     */
    public List<JcLedReceivingParty> selectJcLedReceivingpartyList(JcLedReceivingParty jcLedReceivingparty);



    public List<JcLedReceivingParty> selectJcLedReceivingPartyListByLedId(@Param("jcLedId") Long jcLedId);



    public JcLedReceivingParty selectJcLedReceivingPartyListByLedIdAndType(@Param("jcLedId") Long jcLedId, @Param("type")String type);


    public List<JcLedReceivingPartyVo> selectAddressInfo(@Param("shipmentId") Long shipmentId);
}
